<?php
if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/**
*
*/

class Attached_model extends MY_Model {
	
	var $_pre;
	function __construct()
	{
		parent::__construct();
		if (!empty($this->_d['lg'])) $this->_pre = "_" . $this->_d['lg'];
		$this->tbl		= 'ey_attach_detail' . $this->_pre;
		$this->tbl_key	= 'attachid';
		$this->tbl2		= 'ey_attach_cate' . $this->_pre;
	}
}
?>